home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compendium Deluxe 2
/
LSD and 17bit Compendium Deluxe - Volume II.iso
/
a
/
prog
/
cprog
/
ddjcomp.lha
/
hstest
/
lib
/
txinter.c
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1990-06-01
|
344 b
|
23 lines
/**
*** interface to TX
**/
#include "tx.h"
#include "dos.h"
tx_init()
{
extern main();
void far *p = main;
if (*(long far *)(TX_INT*4))
BIOS(TX_INT,TX_INIT,FP_SEG(p));
}
tx_enable()
{
if (*(long far *)(TX_INT*4))
BIOS(TX_INT,TX_ENABLE);
}
tx_disable()
{
if (*(long far *)(TX_INT*4))
BIOS(TX_INT,TX_DISABLE);
}